package gui2;

import java.awt.BorderLayout;

import javax.media.j3d.Canvas3D;
import javax.swing.BorderFactory;
import javax.swing.JPanel;

public class PanelRenderer extends JPanel {
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

//	public PanelRenderer(Canvas3D canvas)
	public PanelRenderer()
	{
		setBorder(BorderFactory.createTitledBorder("Render"));
		setLayout(new BorderLayout());
//		add(canvas, BorderLayout.CENTER);
	}
	
	public void setCanvas(Canvas3D canvas)
	{
		add(canvas, BorderLayout.CENTER);
	}
}
